<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>
		<?php echo ($rs_systemName["sName"]); ?>-系统中心
	</title>

	<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

	<link rel="shortcut icon" href="favicon.ico">
	<link href="/Public/Theme1/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="/Public/Theme1/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
	<link href="/Public/Theme1/css/animate.min.css" rel="stylesheet">
	<link href="/Public/Theme1/css/style1.min.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden;">
	<div id="wrapper">
		<!--左侧导航开始-->
		<nav class="navbar-default navbar-static-side" role="navigation"
			style="background-color: #5d7ef8; border-right: 0px solid #ffffff">
			<div class="nav-close">
				<i class="fa fa-times-circle"></i>
			</div>
			<div class="sidebar-collapse">
				<ul class="nav" id="side-menu">
					<li class="nav-header">
						<div class="dropdown profile-element">
							 
								<?php if($avatar != '' ): ?><span><img alt="image" class="img-circle"
											src="<?php echo ($avatar); ?>" width="80" height="80" /></span>
									<?php else: ?> <span><img alt="image" class="img-circle" src="/Public/Theme1/img/default_2.jpg"
											width="80" height="80" /></span><?php endif; ?>
						  

							<a data-toggle="dropdown" class="dropdown-toggle" href="#"> <span class="clear"> <span
										class="block m-t-xs"><strong class="font-bold">
											<?php echo ($aUser); ?>
										</strong></span> <span class="text-muted text-xs block">
										<?php echo ($aName); ?><b class="caret"></b>
									</span>
								</span>
							</a>
							<ul class="dropdown-menu animated fadeInRight m-t-xs" style="z-index: 2000">
								<li><a href="/LoginTrue/ExitLogin">安全退出</a></li>
							</ul>
						</div>
						<div class="logo-element">栏目</div>
					</li>
					<?php  ?>
					<?php if($power[0] == 1): ?><li><a href="#"> <i class="glyphicon"><img src="/Public/Theme1/menu/ico/setsystem.png"></i>
								<span class="nav-label">系统管理</span> <span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">

								<li><a class="J_menuItem" href="/System/system" data-index="0">系统设置</a></li>
								<li><a class="J_menuItem" href="/System/set" data-index="0">参数设置</a></li>
								<li><a class="J_menuItem" href="/Manage/add">添加管理员</a></li>
								<li><a class="J_menuItem" href="/Manage/lists?atype=0">管理员列表</a></li>
							</ul>
						</li><?php endif; ?>
					<?php if($power[0] == 1): ?><li><a href="#"> <i class="glyphicon"><img src="/Public/Theme1/menu/ico/setsystem.png"></i>
								<span class="nav-label">权限列表</span> <span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">

								<li><a class="J_menuItem" href="/Manage/lists?atype=1">业务员列表</a></li>
								<li><a class="J_menuItem" href="/Manage/lists?atype=2">财务管理</a></li>
								<li><a class="J_menuItem" href="/Manage/lists?atype=3">采购管理</a></li>
								<li><a class="J_menuItem" href="/Manage/lists?atype=4">仓库管理</a></li>
								<li><a class="J_menuItem" href="/Manage/lists?atype=5">厂长/主任 </a></li>
								<li><a class="J_menuItem" href="/Staff/userlist_zuzc">组长列表</a></li>
								<li><a class="J_menuItem" href="/Staff/userlist_cc">车间员工列表</a></li>
								<li><a class="J_menuItem" href="/Cordination/lists?atype=7">委外工厂列表</a></li>


							</ul>
						</li><?php endif; ?>

					<?php if($power[1] == 1 OR $power[4] == 1): ?><li><a href="#"> <i class="glyphicon"><img src="/Public/Theme1/menu/ico/setdept.png"></i>
								<span class="nav-label">团队小组管理</span> <span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">

								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Groups/add">添加团队小组</a></li><?php endif; ?>
								<?php if($power[4] == 1): ?><li><a class="J_menuItem" href="/Groups/lists">团队小组列表</a></li>

									<li><a class="J_menuItem" href="/Jicgroups/add">添加计件小组</a></li><?php endif; ?>
								<?php if($power[4] == 1): ?><li><a class="J_menuItem" href="/Jicgroups/lists">计件小组列表</a></li><?php endif; ?>
								<?php if($power[4] == 1): ?><li><a class="J_menuItem" href="/Groups/chejianlist">车间列表</a></li><?php endif; ?>
								<li><a class="J_menuItem" href="/Groups/chejian_fplist">车间分配组列表</a></li>
							</ul>
						</li><?php endif; ?>
					<?php if($power[1] == 1 OR $power[4] == 1): ?><li><a href="#"> <i class="glyphicon"><img src="/Public/Theme1/menu/ico/setdept.png"></i>
								<span class="nav-label">应用插件</span> <span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">

								<?php if($power[4] == 1): ?><li><a class="J_menuItem" href="/Img/catecc">应用分类</a></li><?php endif; ?>

							</ul>
						</li><?php endif; ?>

					<?php if($power[1] == 1 OR $power[7] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/working.png" width="28" height="28"></i>
							<span class="nav-label">仓库管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Warehouse/index/from/main">仓库管理</a>
									</li><?php endif; ?>

							</ul>
						</li><?php endif; ?>


					<?php if($power[1] == 1 OR $power[5] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/setstaff.png"></i> <span
									class="nav-label">员工管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Staff/add">录入员工</a></li><?php endif; ?>
								<?php if($power[5] == 1): ?><li><a class="J_menuItem" href="/Staff/lists">员工列表</a></li><?php endif; ?>
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Staff/zjylists">质检员列表</a></li><?php endif; ?>

							</ul>
						</li><?php endif; ?>
					<?php if($power[1] == 1 OR $power[5] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/setstaff.png"></i> <span
									class="nav-label">客户管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Staff/addkh">添加客户</a></li>
									<li><a class="J_menuItem" href="/Staff/waitcheckkh">待审核客户</a></li><?php endif; ?>

								<?php if($power[5] == 1): ?><li><a class="J_menuItem" href="/Staff/userlist">客户列表</a></li>
									<li><a class="J_menuItem" href="/Staff/customer_bill">客户账单</a></li><?php endif; ?>
							</ul>
						</li><?php endif; ?>
					<?php if($power[1] == 1 OR $power[5] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/setstaff.png"></i> <span
									class="nav-label">客户下单管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Productionorder/addc/type/a">添加订单</a></li>
									<li><a class="J_menuItem" href="/Productionorder/orderlist">订单列表</a></li>
									<li><a class="J_menuItem" href="/Productionorder/orderprocesslist">客户订单进度列表</a></li><?php endif; ?>


							</ul>
						</li><?php endif; ?>

					<?php if($power[1] == 1 OR $power[5] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/setstaff.png"></i> <span
									class="nav-label">订单统筹管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Cordination/sc_index">订单统筹计划</a></li>
									<li><a class="J_menuItem" href="/Cordination/tcjh_indexcc">订单生产统筹计划列表</a></li>
									<li><a class="J_menuItem" href="/Cordination/tcjh_index">本厂订单列表</a></li>
									<li><a class="J_menuItem" href="/Cordination/order_waij_index">订单委外加工列表</a></li>
									<li><a class="J_menuItem" href="/Cordxiezhu/weiwaixz_index">委外协助加工列表</a></li>

						</li><?php endif; ?>


				</ul>
				</li><?php endif; ?>


				<?php if($power[1] == 1 OR $power[7] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/working.png" width="28" height="28"></i>
							<span class="nav-label">生产订单管理</span><span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a class="J_menuItem" href="/Productionorder/lists">订单生产列表</a></li>
							<?php if($power[7] == 1): ?><li><a class="J_menuItem" href="/Productionorder/scfp_index">工厂已接单生产列表</a></li>
								<li><a class="J_menuItem" href="/Chejiantask/index_list">车间订单任务列表</a></li>
								<li><a class="J_menuItem" href="/Chejiantask/chejian_huibao_list">车间订单汇报动态列表</a></li>
								<li><a class="J_menuItem" href="/Manufacturing/fprw_list">生产制造分配任务统筹</a></li>
								<li><a class="J_menuItem" href="/Taskstore/store_index">任务关联仓库列表</a></li>
								<li><a class="J_menuItem" href="/Manufacturing/fprwlist">小组或员工任务分配列表</a></li>
								<li><a class="J_menuItem" href="/Manufact/scrwc_index">生产任务列表</a></li>
								<li><a class="J_menuItem" href="/Manufact/order_index">订单任务列表</a></li>
								<li><a class="J_menuItem" href="/Manufanxiu/fanxiu_index">订单返修列表</a></li>
								<li><a class="J_menuItem" href="/Manufact/cjzj">车间质检列表</a></li>
								<li><a class="J_menuItem" href="/Chejiantask/task_list">车间任务查看列表</a></li>
								<li><a class="J_menuItem" href="/Chejiantask/xiaoz_task_list">小组任务查看列表</a></li>
								<li><a class="J_menuItem" href="/Chejiantask/yuang_task_list">员工任务列表</a></li>
								<li><a class="J_menuItem" href="/Workshopstaff/worklists">员工生产制造列表</a></li>
								<li><a class="J_menuItem" href="/Factoryorder/orderlists">客户订单进度查看列表</a></li>
								<li><a class="J_menuItem" href="/Factoryorder/summary_data">制造生产数据汇总表</a></li><?php endif; ?>
						</ul>
					</li><?php endif; ?>
				<?php if($power[1] == 1 OR $power[7] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/working.png" width="28" height="28"></i>
							<span class="nav-label">采购计划管理</span><span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a class="J_menuItem" href="/Orderpurchase/purchase_budget">采购预算</a></li>
							<li><a class="J_menuItem" href="/Orderpurchase/purchase_plan_index">采购计划</a></li>
							<li><a class="J_menuItem" href="/Orderpurchase/purchase_order_index">采购单</a></li>
							<!-- <li><a class="J_menuItem" href="#">采购列表</a></li> -->
							<li><a class="J_menuItem" href="/Orderpurchase/add_supplier">添加供应商</a></li>
							<li><a class="J_menuItem" href="/Orderpurchase/supplier_index">供应商列表</a></li>
							<!-- <li><a class="J_menuItem" href="/Productionorder/listsc">添加采购计划</a></li>
							<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Productionordercaigou/lists">订单采购计划列表</a>
								</li><?php endif; ?> -->

						</ul>
					</li><?php endif; ?>

				<?php if($power[1] == 1 OR $power[6] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/product.png"></i> <span
								class="nav-label">产品工序管理</span><span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Product/adds">录入分类</a></li>
								<li><a class="J_menuItem" href="/Product/add">录入工序</a></li><?php endif; ?>
							<?php if($power[6] == 1): ?><li><a class="J_menuItem" href="/Product/plists">工序分类</a></li>
								<li><a class="J_menuItem" href="/Product/lists">工序列表</a></li><?php endif; ?>
						</ul>
					</li><?php endif; ?>



				<?php if($power[1] == 1 OR $power[7] == 1): ?><li><a href="#"><i class="fa"><img src="/Public/Theme1/menu/ico/working.png" width="28" height="28"></i>
							<span class="nav-label">生产制造录入</span><span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">

							<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Working/add">生产录入</a></li><?php endif; ?>
							<?php if($power[7] == 1): ?><li><a class="J_menuItem" href="/Working/grouplists">小组生产记录</a></li>
								<li><a class="J_menuItem" href="/Working/stafflists">员工生产记录</a></li><?php endif; ?>
						</ul>
					</li><?php endif; ?>



				<?php if($power[1] == 1 OR $power[8] == 1): ?><li>
						<a href="#">
							<i class="fa">
								<img src="/Public/Theme1/menu/ico/money.png" width="28" height="28">
							</i>
							<span class="nav-label">工资管理</span>
							<span class="fa arrow"></span>
						</a>
						<ul class="nav nav-second-level">
							<?php if($power[1] == 1): ?><li><a class="J_menuItem" href="/Money/add">出勤录入</a></li><?php endif; ?>
							<?php if($power[8] == 1): ?><li><a class="J_menuItem" href="/Money/lists">出勤记录</a></li>
								<li><a class="J_menuItem" href="/Money/search">工资查询</a></li>
								<li><a class="J_menuItem" href="/Money/grouplists">小组工资记录</a></li>
								<li><a class="J_menuItem" href="/Money/stafflists">员工工资记录</a></li><?php endif; ?>
						</ul>
					</li><?php endif; ?>

				<li>
					<a href="#">
						<i class="fa">
							<img src="/Public/Theme1/menu/ico/money.png" width="28" height="28">
						</i>
						<span class="nav-label">大数据看版</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">

						<li><a class="J_menuItem" href="/Money/add">数据监控大屏</a></li>

						<li><a class="J_menuItem" href="/Money/lists">订单进度大屏</a></li>


					</ul>
				</li>

				<li>
					<a class="J_menuItem" href="/About/index">
						<i class="fa">
							<img src="/Public/Theme1/menu/ico/about.png" width="32" height="32">
						</i>
						<span class="nav-label">关于我们</span>
					</a>
				</li>

				</ul>
			</div>
		</nav>
		<!--左侧导航结束-->
		<!--右侧部分开始-->
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<div class="row border-bottom">
				<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
					<div class="navbar-header">
						<a class="navbar-minimalize btn" href="#"
							style="width: 190%; height: 50px; font-size: 18px; line-height: 36px; background: #5d7ef8; margin-left: 0; color: #ffffff; border-radius: 0;""><i
							class=" fa fa-bars"></i><span
								style="margin-left: 20px; margin-right: 100px; color: #ffffff; font-weight: bold;">
								<?php echo ($rs_systemName["sName"]); ?>
							</span>
						</a>

					</div>

					<ul class="nav navbar-top-links navbar-right">
						<li class="dropdown hidden-xs">
							<a class="right-sidebar-toggle" aria-expanded="false">
								<i class="fa fa-tasks"></i> 主题
							</a>
						</li>
					</ul>

				</nav>
			</div>
			<div class="row content-tabs">
				<button class="roll-nav roll-left J_tabLeft"></button>
				<nav class="page-tabs J_menuTabs">
					<div>
						<a style="color: #4c8ec0; " href="/Personnelsystem/Index/">系统主页</a>
					</div>
					<div>
						<a style="color: #4c8ec0; " href="/Personnelsystem/Index/">数据监控大屏</a>
					</div>
					<div>
						<a style="color: #4c8ec0; " href="/Personnelsystem/Index/">订单进度看板</a>
					</div>



				</nav>

				<a href="/LoginTrue/ExitLogin" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i>
					退出</a>
			</div>
			<div class="row J_mainContent" id="content-main">
				<iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="/Personnelsystem/Index/welcome" frameborder="0"
					data-id="index_v1.html" seamless></iframe>
			</div>
			<div class="footer">
				<div class="pull-right J_iframe dropdown hidden-xs" name="iframe0" frameborder="0" data-id="index.html"
					seamless>
					<span style="color: #1690d8">
						<?php if($rs_glBNum > 0 OR $rs_nlBNum > 0): echo ($ResultNowDay); ?> 今天还是员工： <?php if($rs_glBNum > 0): if(is_array($rs_glB)): foreach($rs_glB as $key=>$val_glB): ?>[ <?php echo ($val_glB["stName"]); ?> ]<?php endforeach; endif; endif; ?>
								<?php if($rs_nlBNum > 0): if(is_array($rs_nlB)): foreach($rs_nlB as $key=>$val_nlB): ?>[ <?php echo ($val_nlB["stName"]); ?> ]<?php endforeach; endif; endif; ?> 的生日
								<?php else: ?>
								<?php echo ($ResultNowDay); endif; ?>
				</div>
			</div>
		</div>
		<!--右侧部分结束-->
		<!--右侧边栏开始-->
		<div id="right-sidebar">
			<div class="sidebar-container">

				<ul class="nav nav-tabs navs-3">

					<li class="active"><a data-toggle="tab" href="#tab-1"> <i class="fa fa-gear"></i> 主题
						</a></li>
				</ul>

				<div class="tab-content">
					<div id="tab-1" class="tab-pane active">
						<div class="sidebar-title">
							<h3>
								<i class="fa fa-comments-o"></i> 主题设置
							</h3>
							<small><i class="fa fa-tim"></i>
								你可以从这里选择和预览主题的布局和样式，这些设置会被保存在本地，下次打开的时候会直接应用这些设置。</small>
						</div>
						<div class="skin-setttings">
							<div class="title">主题设置</div>
							<div class="setings-item">
								<span>收起左侧菜单</span>
								<div class="switch">
									<div class="onoffswitch">
										<input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu"> <label
											class="onoffswitch-label" for="collapsemenu">
											<span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span>
										</label>
									</div>
								</div>
							</div>
							<div class="setings-item">
								<span>固定顶部</span>

								<div class="switch">
									<div class="onoffswitch">
										<input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar"> <label
											class="onoffswitch-label" for="fixednavbar"> <span class="onoffswitch-inner"></span> <span
												class="onoffswitch-switch"></span>
										</label>
									</div>
								</div>
							</div>
							<div class="setings-item">
								<span> 固定宽度 </span>

								<div class="switch">
									<div class="onoffswitch">
										<input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout"> <label
											class="onoffswitch-label" for="boxedlayout"> <span class="onoffswitch-inner"></span> <span
												class="onoffswitch-switch"></span>
										</label>
									</div>
								</div>
							</div>
							<div class="title">皮肤选择</div>
							<div class="setings-item default-skin nb">
								<span class="skin-name "> <a href="#" class="s-skin-0">
										默认皮肤 </a>
								</span>
							</div>
							<div class="setings-item blue-skin nb">
								<span class="skin-name "> <a href="#" class="s-skin-1">
										蓝色主题 </a>
								</span>
							</div>
							<div class="setings-item yellow-skin nb">
								<span class="skin-name "> <a href="#" class="s-skin-3">
										黄色/紫色主题 </a>
								</span>
							</div>
						</div>
					</div>

				</div>

			</div>
		</div>
		<!--右侧边栏结束-->
	</div>
	<script src="/Public/Theme1/js/jquery.min.js?v=2.1.4"></script>
	<script src="/Public/Theme1/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="/Public/Theme1/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="/Public/Theme1/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="/Public/Theme1/js/plugins/layer/layer.min.js"></script>
	<script src="/Public/Theme1/js/hplus.min.js?v=4.1.0"></script>
	<script type="text/javascript" src="/Public/Theme1/js/contabs.min.js"></script>
	<script src="/Public/Theme1/js/plugins/pace/pace.min.js"></script>
</body>

</html>